package com.yuwubao.uav.tool.service;

import com.yuwubao.framework.bean.PageData;

import java.util.List;

/**
 *
 */
public interface DecisionService {

    void addDecisionQuestion(PageData pageData) throws Exception;
    List<PageData> listDecisionQuestion(PageData pageData) throws Exception;
    int listDecisionQuestionCount(PageData pageData) throws Exception;

    void disableOrEnableDecisionComment(PageData pageData) throws Exception;
    void addDecisionComment(PageData pageData) throws Exception;
    List<PageData> listDecisionComment(PageData pageData) throws Exception;
    int listDecisionCommentCount(PageData pageData) throws Exception;
    List<PageData> listDecisionCommentForBackend(PageData pageData) throws Exception;
    int listDecisionCommentCountForBackend(PageData pageData) throws Exception;

    void deleteDecision(PageData pageData) throws Exception;
    void disableOrEnableDecision(PageData pageData) throws Exception;
    void updateDecision(PageData pageData) throws Exception;
    void addDecision(PageData pageData) throws Exception;
    List<PageData> listDecision(PageData pageData) throws Exception;
    int listDecisionCount(PageData pageData) throws Exception;

    void deleteDecisionType(PageData pageData) throws Exception;
    void disableOrEnableDecisionType(PageData pageData) throws Exception;
    void updateDecisionType(PageData pageData) throws Exception;
    void addDecisionType(PageData pageData) throws Exception;
    List<PageData> listDecisionType(PageData pageData) throws Exception;
    List<PageData> listDecisionTypeAll(PageData pageData) throws Exception;
    int listDecisionTypeCount(PageData pageData) throws Exception;

}
